3.49 \(\int \frac{\log (d (\frac{1}{d}+f \sqrt{x})) (a+b \log (c x^n))}{x} \, dx\)

Optimal. Leaf size=39 \[ 4 b n \text{PolyLog}\left (3,-d f \sqrt{x}\right )-2 \text{PolyLog}\left (2,-d f \sqrt{x}\right ) \left (a+b \log \left (c x^n\right )\right ) \]

[Out]

-2*(a + b*Log[c*x^n])*PolyLog[2, -(d*f*Sqrt[x])] + 4*b*n*PolyLog[3, -(d*f*Sqrt[x])]

________________________________________________________________________________________

Rubi [A]  time = 0.0321699, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {2374, 6589} \[ 4 b n \text{PolyLog}\left (3,-d f \sqrt{x}\right )-2 \text{PolyLog}\left (2,-d f \sqrt{x}\right ) \left (a+b \log \left (c x^n\right )\right ) \]

Antiderivative was successfully verified.

[In]

Int[(Log[d*(d^(-1) + f*Sqrt[x])]*(a + b*Log[c*x^n]))/x,x]

[Out]

-2*(a + b*Log[c*x^n])*PolyLog[2, -(d*f*Sqrt[x])] + 4*b*n*PolyLog[3, -(d*f*Sqrt[x])]

Rule 2374

Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.))/(x_), x_Symbol] :> -Sim
p[(PolyLog[2, -(d*f*x^m)]*(a + b*Log[c*x^n])^p)/m, x] + Dist[(b*n*p)/m, Int[(PolyLog[2, -(d*f*x^m)]*(a + b*Log
[c*x^n])^(p - 1))/x, x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps

\begin{align*} \int \frac{\log \left (d \left (\frac{1}{d}+f \sqrt{x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=-2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_2\left (-d f \sqrt{x}\right )+(2 b n) \int \frac{\text{Li}_2\left (-d f \sqrt{x}\right )}{x} \, dx\\ &=-2 \left (a+b \log \left (c x^n\right )\right ) \text{Li}_2\left (-d f \sqrt{x}\right )+4 b n \text{Li}_3\left (-d f \sqrt{x}\right )\\ \end{align*}

Mathematica [A]  time = 0.0071839, size = 50, normalized size = 1.28 \[ -2 a \text{PolyLog}\left (2,-d f \sqrt{x}\right )-2 b \log \left (c x^n\right ) \text{PolyLog}\left (2,-d f \sqrt{x}\right )+4 b n \text{PolyLog}\left (3,-d f \sqrt{x}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(Log[d*(d^(-1) + f*Sqrt[x])]*(a + b*Log[c*x^n]))/x,x]

[Out]

-2*a*PolyLog[2, -(d*f*Sqrt[x])] - 2*b*Log[c*x^n]*PolyLog[2, -(d*f*Sqrt[x])] + 4*b*n*PolyLog[3, -(d*f*Sqrt[x])]

________________________________________________________________________________________

Maple [F]  time = 0.02, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\ln \left ( c{x}^{n} \right ) }{x}\ln \left ( d \left ({d}^{-1}+f\sqrt{x} \right ) \right ) }\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))*ln(d*(1/d+f*x^(1/2)))/x,x)

[Out]

int((a+b*ln(c*x^n))*ln(d*(1/d+f*x^(1/2)))/x,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )} \log \left ({\left (f \sqrt{x} + \frac{1}{d}\right )} d\right )}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*log(d*(1/d+f*x^(1/2)))/x,x, algorithm="maxima")

[Out]

integrate((b*log(c*x^n) + a)*log((f*sqrt(x) + 1/d)*d)/x, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b \log \left (c x^{n}\right ) + a\right )} \log \left (d f \sqrt{x} + 1\right )}{x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*log(d*(1/d+f*x^(1/2)))/x,x, algorithm="fricas")

[Out]

integral((b*log(c*x^n) + a)*log(d*f*sqrt(x) + 1)/x, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))*ln(d*(1/d+f*x**(1/2)))/x,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )} \log \left ({\left (f \sqrt{x} + \frac{1}{d}\right )} d\right )}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))*log(d*(1/d+f*x^(1/2)))/x,x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*log((f*sqrt(x) + 1/d)*d)/x, x)